<!--{include file="<!--{$oetplpath}-->public/widget_header.tpl"}-->
<script src="<!--{$skinpath}-->public/js/authlogin.js"></script>
<div class="oereg_top">
  <div class="oereg_topcon">
    <div class="oereg_logo">
	  <a href="<!--{$config.siteurl}-->"><img src="<!--{$urlpath}--><!--{$config.logo}-->" /></a>
	</div>
    <div class="oereg_right">
	  您正以绑定 <!--{if $mod == 'qq'}-->QQ帐号<!--{elseif $mod == 'sina'}-->微博帐号<!--{else}-->微信帐号<!--{/if}--> 授权登录
	  <a href="<!--{routeurl module='passport' action='login'}-->">切换网站帐号登录</a>
	</div>
    <div class="clear"></div>
  </div>
</div>

<input type="hidden" name="mod" id="mod" value="<!--{$mod}-->" />
<input type="hidden" name="openid" id="openid" value="<!--{$openid}-->" />
<input type="hidden" name="open_username" id="open_username" value="<!--{$authuser.nickname}-->" />
<input type="hidden" name="open_sex" id="open_sex" value="<!--{$authuser.gender}-->" />
<input type="hidden" name="open_province" id="open_province" value="<!--{$authuser.province}-->" />
<input type="hidden" name="open_city" id="open_city" value="<!--{$authuser.city}-->" />
<input type="hidden" name="open_headimg" id="open_headimg" value="<!--{$authuser.headimgurl}-->" />

<div class="oe_other">
  <div class="left">
    <div class="hd">
      <h3>创建新帐号</h3>
      <p>如果您还未注册过本站，请点击下面的按钮完成帐号创建</p>
    </div>
    <div class="bd">
      <img src="<!--{$authuser.headimgurl}-->" />
      <ul>

	    <li><!--{$authuser.nickname}--> 网站将获得以下权限</li>
        <li class="li_1"><input type="checkbox" checked disabled />获得您的昵称、头像、性别</li>
        <li class="li_2">
		  <input type="text" name="mobile" id="mobile" f="checkinput" maxlength="11" />
		  <p class="text" id="mobile_pt" f="changept" data-id="mobile">输入手机号码，可用于登录，找回密码</p>
          <p class="error" id="mobile_tips">请输入有效的手机号码</p>
        </li>
		<!--{if $config.regmobilecode == '1' && $config.smsflag == '1'}-->
        <li class="li_2">
		  <input type="text" name="mobilecode" id="mobilecode" f="checkinput" maxlength="6" />
		  <label class="" id="btn_send_mobilecode" f="send_mobilecode">获取验证码</label>
		  <p class="text" id="mobilecode_pt" f="changept" data-id="mobilecode">输入手机验证码</p>
		  <p class="error" id="mobilecode_tips">请输入手机验证码</p>
        </li>
		<!--{/if}-->
        <li class="btn">
          <span f="but_create_account">立即创建</span>
        </li>

	  </ul>
    </div>
  </div>


  <div class="right">
    <div class="hd">
      <h3>绑定 QQ/微博/微信 登录</h3>
      <p>如果你已经注册过本站，请绑定您的<!--{if $mod == 'qq'}-->QQ<!--{elseif $mod=='sina'}-->微博<!--{else}-->微信<!--{/if}-->进行登录</p>
    </div>
    <div class="bd">
      <dl>

	    <dt>本站帐号</dt>

		<dd>
          <input type="text" name="loginname" id="loginname" f="checkinput" />
          <p class="text" id="loginname_pt" f="changept" data-id="loginname">请输入本站用户名/手机号/邮箱</p>
		  <p class="error" id="loginname_tips">请输入用户名/手机号/邮箱</p>
        </dd>
        <div class="clear"></div>

	  </dl>
      <dl>
      	<dt>登录密码</dt>
      	<dd>
          <input type="password" name="password" id="password" f="checkinput" maxlength="16" />
          <p class="text" id="password_pt" f="changept" data-id="password">请输入登录密码</p>
          <p class="error" id="password_tips">请输入登录密码</p>
        </dd>
        <div class="clear"></div>
      </dl>
      <dl class="btn">

	    <dt></dt>

		<dd>
		  <span f="but_loginpost">确定登录</span>
		</dd>

	  </dl>
    </div>
    
  </div>
  <div class="clear"></div>
</div>


<!--{include file="<!--{$oetplpath}-->public/widget_footer.tpl"}-->
<div id="page_loading_box" class="page_loading_box" style="display:none;">
  <span class="loading"></span>
</div>

<div class="oe_shades" id="create_success_box" style="display:none;">
  <div class="oe_tipsbox">
    <div class="bd">
      <p class="p_1">帐号创建成功，请记住您的密码</p>
      <p class="p_2" id="create_password"></p>
      <p class="p_3">
        <span f="but_confirm_success" class="cursor" data-forword="">确定</span>
      </p>   
    </div>
  </div>
</div>
</body>
</html>